import 'package:flutter/material.dart';
import 'package:flutter_demo1/message.dart';
import 'package:flutter_demo1/search.dart';
import 'package:flutter_demo1/home.dart';

void main() {
  runApp(MaterialApp(
    debugShowCheckedModeBanner: false,
    initialRoute: "/",
    routes: {
      '/': (context) => const HomePage(),
      '/search': (context) =>
          const SearchPage(arguments: {"content": "search 参数"}),
      '/message': (context) => const MessagePage(),
    },
  ));
}
